package com.chenbing.yunmall;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

//扫描dao层
@MapperScan("com.chenbing.yunmall.soupon.dao")
@EnableFeignClients(basePackages = "com.chenbing.yunmall.soupon.feign")
@SpringBootApplication
@EnableDiscoveryClient
public class MallSouponApplication {

    public static void main(String[] args) {
        SpringApplication.run(MallSouponApplication.class, args);
    }

}
